Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for date fields with both a start and end date #12

Merged
merged 1 commit into from
Dec 14, 2015
Merged

Conversation

patrickfweston
Copy link
Contributor

This pull request addresses issue #11.

Date fields with both a start and end date are retrieved as an array instead of as a scalar due to the unpredictability of entity_metadata_wrapper(). This pull request fixes this by checking if the value returned is an array before it attempts to verify the date matches the value in the test.

becw added a commit that referenced this pull request Dec 14, 2015
Fix for date fields with both a start and end date
@becw becw merged commit 62a3a61 into master Dec 14, 2015
@becw becw deleted the date-start-end branch December 14, 2015 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants